#{extends 'main.html' /}

<h3>Create Component: </h3>
#{form @Components.createComponent(name,description,project.getEntityId()), class:'jqtransform', id:'myForm'}
	Name:
	<br/>
	<textarea class="validate[required]" name = "name" id = "name" rows="1" cols="40" align="top">Enter name here..</textarea>
	<br/>
	Description:
<br/>
<textarea class="validate[required,length[1,100]]" rows="5" cols="40" name = "description" id = "description">Enter description here..</textarea>
<br/>

	<input type="submit" name="submit" class="button" id="submit_btn" value="Create component" />

#{/form}